import CommonZjfImg from "@/components/CommonImg/ZifComponent";
export const imgStyle = { marginRight: "8px", width: "32px", height: "32px", borderRadius: "5px", border: "none" };
/**
 * 在CommonZjfImg上，自动加样式
 */
export default ({ style = {}, ...props }) => {
	return props?.img ? <CommonZjfImg {...props} style={{ ...imgStyle, ...style }} /> : <></>;
};
